package com.xuxiangyang.competitionsystem.mapper;

import com.xuxiangyang.competitionsystem.entities.Artical;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticalMapper {

    void insert(Artical artical);

    List<Artical> getListAll();

    List<Artical> getListByNews();

    List<Artical> getListByNotice();

    List<Artical> getListByDownload();

    void deleteById(Artical artical);

    void updateArtical(Artical artical);
}
